import Koa from 'koa';
import serve from 'koa-static';
import proxyMiddleware from '../../common/middlewares/proxy.js';

const staticApp = new Koa();

if (process.env.NODE_ENV === 'development') {
    // Using webpack development server
} else {
    // Serve contents in "static" folder
    staticApp.use(serve('static'));   
}

export default staticApp;